package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfMealTime;
import com.ocom.common.request.web.ConsTimeConfigOnShowRequest;
import com.ocom.common.resp.Result;
import com.ocom.payconfig.vo.DeleteMealVo;

import java.util.List;


public interface XfMealTimeService extends IService<EntityXfMealTime> {


    //2.2.获取餐段时间信息(getMealTimeInfo)
    public List<EntityXfMealTime> GetMealTimeInfo(Long comId,ConsTimeConfigOnShowRequest request);

    //2.4.添加餐段时间信息(addMealTimeInfo)
    public Result AddMealTimeInfo(Long comId, EntityXfMealTime entityXfMealTime);


    // 2.6.修改餐段时间信息(updateMealTimeInfo)
    public Result UpdateMealTimeInfo(Long comId,EntityXfMealTime entityXfMealTime);

    /**
     * 2.8.删除餐段时间信息(deleteMealTimeInfo)
     * */
    public void DeleteMealTimeInfo(Long comId,DeleteMealVo deleteMealVo);


    public List<EntityXfMealTime> getMealTimeList(Long comId);

    public Integer getCount(Long comId,Integer pointId);
}
